package cn.kgc.service;

import cn.kgc.pojo.DeptInf;
import cn.kgc.pojo.JobInf;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JobService {


    int getCount(String NAME);

    List<JobInf> getJobByPage(Integer pageNo,
                                Integer pageSize,
                                String NAME);

    JobInf getJobById(@Param("id") Integer id);

    boolean updateJob(JobInf jobInf);

    boolean addJob(JobInf jobInf);

    boolean delId(Integer id);

    JobInf getJobNAME(String NAME);

    List<JobInf> getJobInfo();
}
